home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / ftn / time.z / time
Encoding:
Text File  |  2002-10-03  |  2.2 KB  |  54 lines

  1. TIME(3F)                                              Last changed: 10-2-98
  2.  
  3.  
  4. NNAAMMEE
  5.      ttiimmee, ccttiimmee, llttiimmee, ggmmttiimmee - return system time
  6.  
  7. SSYYNNOOPPSSIISS
  8.      eexxtteerrnnaall ttiimmee
  9.      iinntteeggeerr ffuunnccttiioonn ttiimmee(())
  10.  
  11.      ssuubbrroouuttiinnee ttiimmee((_c_h_t_i_m_e))
  12.      cchhaarraacctteerr**88 _c_h_t_i_m_e
  13.  
  14.      cchhaarraacctteerr**2244 ffuunnccttiioonn ccttiimmee ((_s_t_i_m_e))
  15.      iinntteeggeerr _s_t_i_m_e
  16.  
  17.      ssuubbrroouuttiinnee llttiimmee ((_s_t_i_m_e,, _t_a_r_r_a_y))
  18.      iinntteeggeerr _s_t_i_m_e,, _t_a_r_r_a_y((99))
  19.  
  20.      ssuubbrroouuttiinnee ggmmttiimmee ((_s_t_i_m_e,, _t_a_r_r_a_y))
  21.      iinntteeggeerr _s_t_i_m_e,, _t_a_r_r_a_y((99))
  22.  
  23. IIMMPPLLEEMMEENNTTAATTIIOONN
  24.      IRIX systems
  25.  
  26. DDEESSCCRRIIPPTTIIOONN
  27.      The external function _t_i_m_e returns the time since 00:00:00 GMT, Jan.
  28.      1, 1970, measured in seconds.  This is the value of the UNIX system
  29.      clock.
  30.  
  31.      The intrinsic subroutine _t_i_m_e returns the time in the form 00:00:00 in
  32.      the character string _c_h_t_i_m_e. This is the default when _t_i_m_e is not
  33.      declared to be an external function.
  34.  
  35.      _c_t_i_m_e converts a system time to a 24 character ASCII string.  The
  36.      format is described under ccttiimmee(3).  No 'newline' or NULL is included.
  37.  
  38.      _l_t_i_m_e and _g_m_t_i_m_e split a UNIX time into month, day, etc., either for
  39.      the local time zone or as GMT.
  40.  
  41.      The _s_t_i_m_e argument contains the time in seconds since 00:00:00 GMT,
  42.      January 1, 1970, returned by a previous call to _t_i_m_e. The order and
  43.      meaning of each element returned in _t_a_r_r_a_y is described under
  44.      ccttiimmee(3).
  45.  
  46. FFIILLEESS
  47.      //uussrr//uuccbb//lliibb//lliibbUU7777..aa
  48.      //uussrr//lliibb//lliibbUU7777..aa
  49.  
  50. SSEEEE AALLSSOO
  51.      ccttiimmee(3), iittiimmee(3F), iiddaattee(3F), ffddaattee(3F)
  52.  
  53.      This man page is available only online.
  54.